{include file="public/top"}

{notempty name="nav"}
{volist name="nav" id="vo"}
{if condition="$cur eq $vo.tag"}
{volist name="vo.show" id="v"}
    <img src="{$v.thumb|geturl}" width="100%" alt="{$v.title}" />
{/volist}
{/if}
{/volist}
{/notempty}

<div id="page">
	<div class="leftList">
        {notempty name="goods_cate"}
    	<div class="title">产品中心</div>
            <ul>
                {volist name="goods_cate" id="vo"}
                <li {if condition="$vo.id eq $cate_id"} class="on" {/if}><a href="{:url('index/goods/index',['cate_id'=>$vo.id])}" title="{$vo.name}">{$vo.name}</a>
                    {notempty name="vo.cate2"}
                    <div class="hide">
                        {volist name="vo.cate2" id="v2" key="k2"}
                        <p>
                        	<b>
                                <a href="{:url('index/goods/index',['cate_id'=>$v2.id])}">{$v2.name} {notempty name="v2.cate3"}|{/notempty}</a>
                            </b>
                            {notempty name="v2.cate3" }
                            <i>
                                {volist name="v2.cate3" id="v3" key="k3"}
                                <span><a href="{:url('index/goods/index',['cate_id'=>$v3.id])}">{$v3.name} &nbsp; {if condition="$k3 neq count($v2.cate3)"}|{/if}</a></span>
                                {/volist}
                            </i>
                            {/notempty}
                        </p>
                        {/volist}
                    </div>
                    {/notempty}
                </li>
                {/volist}
            </ul>
        {/notempty}
        </div>
    <div class="rightCon">
    	<ul class="uu">
            {volist name="goods" id="vo"}
        	<li>
            	<div class="pic">
                    <a href="{:url('index/goods/info',['cate_id'=>$vo.goods_cate_id,'id'=>$vo.id])}" title="{$vo.title}">
                        <img src="{$vo.thumb|geturl}"" >
                    </a>
                </div>
                <p>{$vo.title}</p>
            </li>
            {/volist}
        </ul>
        <div class="pages" style="clear: both;">
            <ul>
                {$pager}
	       </ul>
        </div>    
    </div>
</div>

{include file="public/bottom"}
</body>
</html>